package cn.loan.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * @Author: 毛苏宇
 * @Description: 额度表
 * @Date: Create in 16:43 2019/3/21
 */
@Data
@NoArgsConstructor
@ToString
public class Quota implements Serializable {

    private int quota_id;
    /**
     * 用户id
     */
    private int user_id;
    /**
     * 用户得到的额度
     */
    private double money;
    /**
     * 余额
     */
    private double balance;

    public Quota(int user_id, double money) {
        this.user_id = user_id;
        this.money = money;
    }
}
